npm i aos — save //installation
//import
import AOS from "aos";
import "aos/dist/aos.css";
//useEffect
useEffect(() => {
AOS.init();
AOS.refresh();
}, []);
//example
data-aos="fade-up"
<div data-aos="zoom-in-right"></div>
bower install aos --save
yarn add aos